package com.bwda.dsrs.filecenter.domain.vo.sensitivelevel;

import com.bwda.dsrs.filecenter.domain.po.sensitiverule.SensitiveRulePo;
import com.bwda.dsrs.filecenter.domain.po.sensitiverule.SensitiveRulePo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * 敏感等级页面返回实体类
 *
 * @author zhangyinmei
 * @date 2019/04/22
 */
@Data
@ApiModel(description = "敏感等级")
public class SensitiveLevelVo {

	@ApiModelProperty(value = "ID", required = true)
	private Integer id;

	@ApiModelProperty(value = "名称")
	private String name;

	@ApiModelProperty(value = "等级12345")
	private Integer sensitiveLevel;

	@ApiModelProperty(value = "敏感匹配规则 ：0与 1或", required = true,allowableValues = "0,1")
	private Integer sensitiveRel;

	@ApiModelProperty(value = "0正常1停用")
	private Integer sensitiveState;

	@ApiModelProperty(value = "0未删除 1已删除")
	private Integer delFlag;

	@ApiModelProperty(value = "创建时间")
	private Date createTime;

	@ApiModelProperty(value = "更新时间")
	private Date updateTime;

	@ApiModelProperty(value = "敏感等级规则信息和敏感字段信息")
	private List<SensitiveRulePo> sensitiveRulePoList;

	@ApiModelProperty(value = "创建人编码")
	private String createUserCode;

	@ApiModelProperty(value = "更新人编码")
	private String updateUserCode;

	@ApiModelProperty(value = "备注")
	private String remark;
}